package top.lishuoboy.spring.config;

import org.springframework.context.annotation.Bean;

// 无需 @Component 注解
public class MyImportConfiguration {
    @Bean
    StringBuffer stringBuffer() {
        return new StringBuffer("我自字符串缓存StringBuffer");
    }
}